home *** CD-ROM | disk | FTP | other *** search
- <?xml version="1.0" encoding="UTF-8" standalone="no"?>
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
- <html xmlns="http://www.w3.org/1999/xhtml">
- <head>
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
- <title>2.8.  Foreground Select</title>
- <link rel="stylesheet" href="gimp-help-plain.css" type="text/css" />
- <link rel="stylesheet" href="gimp-help-screen.css" type="text/css" />
- <link rel="stylesheet" href="gimp-help-custom.css" type="text/css" />
- <link rel="alternate stylesheet" href="gimp22.css" type="text/css" title="gimp22" />
- <meta name="generator" content="DocBook XSL Stylesheets V1.73.2" />
- <link rel="start" href="index.html" title="GNU Image Manipulation Program" />
- <link rel="up" href="gimp-tools-selection.html" title="2. Selection Tools" />
- <link rel="prev" href="gimp-tool-iscissors.html" title="2.7.  Scissors" />
- <link rel="next" href="gimp-tools-paint.html" title="3.  Brush Tools" />
- </head>
- <body>
- <div class="navheader">
- <table width="100%" summary="Navigation header">
- <tr>
- <th colspan="3" align="center">2.8. 
- <span lang="en" xml:lang="en">Foreground Select</span>
- </th>
- </tr>
- <tr>
- <td width="20%" align="left"><a accesskey="p" href="gimp-tool-iscissors.html"><img src="../images/prev.png" alt="Prev" /></a> </td>
- <th width="60%" align="center">2. Selection Tools</th>
- <td width="20%" align="right"> <a accesskey="n" href="gimp-tools-paint.html"><img src="../images/next.png" alt="Next" /></a></td>
- </tr>
- </table>
- <hr />
- </div>
- <div class="sect2" lang="en" xml:lang="en">
- <div class="titlepage">
- <div>
- <div>
- <h3 class="title"><a id="gimp-tool-foreground-select"></a>2.8. 
- <span lang="en" xml:lang="en">Foreground Select</span>
- </h3>
- </div>
- <div>
- <div class="revhistory">
- <table border="1" width="100%" summary="Revision history">
- <tr>
- <th align="left" valign="top" colspan="3">
- <b>Revision History</b>
- </th>
- </tr>
- <tr>
- <td align="left">Revision $Revision: 2429 $</td>
- <td align="left">2007-07-26</td>
- <td align="left">j.h</td>
- </tr>
- </table>
- </div>
- </div>
- </div>
- </div>
- <a id="id2625921" class="indexterm"></a>
- <a id="id2625935" class="indexterm"></a>
- <a id="id2625948" class="indexterm"></a>
- <div class="figure">
- <a id="id2625957"></a>
- <p class="title">
- <b>Figure 13.23. 
- <span lang="en" xml:lang="en">
- The “<span class="quote">Foreground Select</span>” tool in the Toolbox
- </span>
- </b>
- </p>
- <div class="figure-contents">
- <div class="mediaobject">
- <img src="../images/toolbox/FG-select-toolbox.png" alt="The Foreground Select tool in the Toolbox" />
- </div>
- </div>
- </div>
- <br class="figure-break" />
- <p>
- This tool lets you extract the foreground from the active layer or from a
- selection. It is based on the SIOX method (Simple Interactive Object
- Extraction). You can visit its Web page at
- <a class="xref" href="bibliography.html#bibliography-online-siox" title="Simple Interactive Object Extraction">[<abbr class="abbrev">SIOX</abbr>]</a>.
- </p>
- <div class="sect3" lang="en" xml:lang="en">
- <div class="titlepage">
- <div>
- <div>
- <h4 class="title"><a id="tool-fg-select-usage"></a>2.8.1. 
- <span lang="en" xml:lang="en">Directions for use</span>
- </h4>
- </div>
- </div>
- </div>
- <p>
- The creation of a selection with this tool works in a couple of steps:
- </p>
- <div class="procedure">
- <ol type="1">
- <li>
- <p>
- <span class="emphasis"><em>Roughly select the foreground</em></span> you want
- to extract. When you select this tool, the mouse pointer goes with
- the lasso icon. It actually works like the Fuzzy Select tool.
- Select as little as possible from the background.
- </p>
- <p>
- As soon as you release the mouse button, the non selected part of
- the image is covered with a dark blue mask. If the selection is not
- closed, its ends will be linked automatically together by a straight
- line. The mouse pointer goes now with the Paint-brush icon for the
- next step.
- </p>
- <div class="figure">
- <a id="id2626059"></a>
- <p class="title">
- <b>Figure 13.24. 
- <span lang="en" xml:lang="en">The foreground is roughly selected</span>
- </b>
- </p>
- <div class="figure-contents">
- <div class="mediaobject">
- <img src="../images/toolbox/FG-select-ex1.png" alt="The foreground is roughly selected" />
- </div>
- </div>
- </div>
- <br class="figure-break" />
- </li>
- <li>
- <p>
- <span class="emphasis"><em>Draw a line through the foreground</em></span>: using the
- paintbrush, whose size can be changed in options, draw a continuous
- line in the selected foreground going over colors which will be
- kept for the extraction. The color used to draw the line is of no
- importance; not using the same color as foreground is better. Be
- careful not painting background pixels.
- </p>
- <div class="figure">
- <a id="id2626107"></a>
- <p class="title">
- <b>Figure 13.25. 
- <span lang="en" xml:lang="en">The line drawn on the foreground</span>
- </b>
- </p>
- <div class="figure-contents">
- <div class="mediaobject">
- <img src="../images/toolbox/FG-select-ex2.png" alt="The line drawn on the foreground" />
- <div class="caption">
- <p>
- In this example, it is important that the line goes over the
- yellow capitulum of the flower.
- </p>
- </div>
- </div>
- </div>
- </div>
- <br class="figure-break" />
- </li>
- <li>
- <p>
- When you release the mouse button, all non-selected areas are in
- dark :
- </p>
- <div class="figure">
- <a id="id2626158"></a>
- <p class="title">
- <b>Figure 13.26. 
- <span lang="en" xml:lang="en">The area which will be selected</span>
- </b>
- </p>
- <div class="figure-contents">
- <div class="mediaobject">
- <img src="../images/toolbox/FG-select-ex3.png" alt="The area which will be selected" />
- </div>
- </div>
- </div>
- <br class="figure-break" />
- </li>
- <li>
- <p>
- You still have to press the <span class="keycap"><strong>Enter</strong></span> key to get the
- wanted selection :
- </p>
- <div class="figure">
- <a id="id2626204"></a>
- <p class="title">
- <b>Figure 13.27. 
- <span lang="en" xml:lang="en">Foreground is selected.</span>
- </b>
- </p>
- <div class="figure-contents">
- <div class="mediaobject">
- <img src="../images/toolbox/FG-select-ex4.png" alt="Foreground is selected." />
- </div>
- </div>
- </div>
- <br class="figure-break" />
- </li>
- </ol>
- </div>
- <div class="note" style="margin-left: 0.5in; margin-right: 0.5in;">
- <table border="0" summary="Note">
- <tr>
- <td rowspan="2" align="center" valign="top" width="25">
- <img alt="[Note]" src="../images/note.png" />
- </td>
- <th align="left">Note</th>
- </tr>
- <tr>
- <td align="left" valign="top">
- <p>
- Until you press <span class="keycap"><strong>Enter</strong></span>, you can't undo this selection
- by <span class="keycap"><strong>Ctrl</strong></span>+<span class="keycap"><strong>Z</strong></span> nor by
- <span class="guimenu">Select</span> ‚Üí <span class="guimenuitem">None</span>,
- and the Undo History is not concerned. To delete this selection, you
- must select another tool.
- </p>
- </td>
- </tr>
- </table>
- </div>
- </div>
- <div class="sect3" lang="en" xml:lang="en">
- <div class="titlepage">
- <div>
- <div>
- <h4 class="title"><a id="id2626281"></a>2.8.2. 
- <span lang="en" xml:lang="en">Activating the Tool</span>
- </h4>
- </div>
- </div>
- </div>
- <p>
- You can activate the Foreground Select tool in two ways:
- </p>
- <div class="itemizedlist">
- <ul type="disc">
- <li>
- <p>
- By clicking on the tool icon
- <span class="guiicon">
- <span class="inlinemediaobject"><img src="../images/toolbox/stock-tool-foreground-select-22.png" /></span>
- </span>
- in the Toolbox.
- </p>
- </li>
- <li>
- <p>
- Through
- <span class="guimenu">Tools</span> ‚Üí <span class="guisubmenu">Selection Tools</span> ‚Üí <span class="guimenuitem">Foreground Select</span>
- in the image menu.
- </p>
- </li>
- <li>
- <p>
- This tool has no shortcut, but you can set one using
- <span class="guimenu">File</span> ‚Üí <span class="guisubmenu">Preferences</span> ‚Üí <span class="guisubmenu">Interface</span> ‚Üí <span class="guisubmenu">Configure Keyboard Shortcuts</span> ‚Üí <span class="guisubmenu">tools</span> ‚Üí <span class="guimenuitem">Foreground Select</span>
- </p>
- </li>
- </ul>
- </div>
- </div>
- <div class="sect3" lang="en" xml:lang="en">
- <div class="titlepage">
- <div>
- <div>
- <h4 class="title"><a id="id2626417"></a>2.8.3. 
- <span lang="en" xml:lang="en">Key modifiers (Defaults)</span>
- </h4>
- </div>
- </div>
- </div>
- <div class="variablelist">
- <dl>
- <dt>
- <span class="term">
- <span class="keycap">
- <strong>Ctrl</strong>
- </span>
- </span>
- </dt>
- <dd>
- <p>
- By pressing the <span class="keycap"><strong>Ctrl</strong></span> key, you can switching
- between foreground and background selection painting.
- </p>
- </dd>
- </dl>
- </div>
- </div>
- <div class="sect3" lang="en" xml:lang="en">
- <div class="titlepage">
- <div>
- <div>
- <h4 class="title"><a id="id2626463"></a>2.8.4. 
- <span lang="en" xml:lang="en">Options</span>
- </h4>
- </div>
- </div>
- </div>
- <div class="figure">
- <a id="id2626474"></a>
- <p class="title">
- <b>Figure 13.28. 
- <span lang="en" xml:lang="en">
- “<span class="quote">Foreground Select</span>” tool options
- </span>
- </b>
- </p>
- <div class="figure-contents">
- <div class="mediaobject">
- <img src="../images/toolbox/FG-select-options.png" alt="Foreground Select tool options" />
- <div class="caption">
- <p>
- <span class="guilabel">Feather Edges</span> and <span class="guilabel">Color Sensitivity
- </span> options have been checked.
- </p>
- </div>
- </div>
- </div>
- </div>
- <br class="figure-break" />
- <p>
- You can get the option dialog by double-clicking on the tool icon
- <span class="guiicon">
- <span class="inlinemediaobject"><img src="../images/toolbox/stock-tool-foreground-select-22.png" /></span>
- </span>
- in the toolbox:
- </p>
- <div class="variablelist">
- <dl>
- <dt>
- <span class="term">Mode; Antialias; Feather edges</span>
- </dt>
- <dd>
- <div class="note" style="margin-left: 0.5in; margin-right: 0.5in;">
- <table border="0" summary="Note">
- <tr>
- <td rowspan="2" align="center" valign="top" width="25">
- <img alt="[Note]" src="../images/note.png" />
- </td>
- <th align="left">Note</th>
- </tr>
- <tr>
- <td align="left" valign="top">
- <p>
- See <a class="link" href="gimp-tools-selection.html#gimp-tool-select" title="2.1.  Common Features">Selection Tools</a>
- for help with options that are common to all these tools. Only
- options that are specific to this tool are explained here.
- </p>
- </td>
- </tr>
- </table>
- </div>
- </dd>
- <dt>
- <span class="term">Contiguous</span>
- </dt>
- <dd>
- <p>
- If this option is enabled, only the area contiguous to the stroke
- will be selected. Otherwise all the areas with same colors will be
- selected.
- </p>
- <div class="figure">
- <a id="id2626609"></a>
- <p class="title">
- <b>Figure 13.29. 
- <span lang="en" xml:lang="en">
- “<span class="quote">Contiguous</span>” option effect
- </span>
- </b>
- </p>
- <div class="figure-contents">
- <div class="mediaobject">
- <img src="../images/toolbox/FG-select-contig1.png" alt="Contiguous option effect" />
- <div class="caption">
- <p>
- Two separated areas with the same color. On the left, only
- the left area is marked.
- </p>
- </div>
- </div>
- <div class="mediaobject">
- <img src="../images/toolbox/FG-select-contig2.png" alt="Contiguous option effect" />
- <div class="caption">
- <p>
- The Contiguous option is checked: only the area close to the
- painted line is selected.
- </p>
- </div>
- </div>
- <div class="mediaobject">
- <img src="../images/toolbox/FG-select-contig3.png" alt="Contiguous option effect" />
- <div class="caption">
- <p>
- The Contiguous option is not checked: both areas, although
- they are separated, are selected.
- </p>
- </div>
- </div>
- </div>
- </div>
- <br class="figure-break" />
- </dd>
- <dt>
- <span class="term">Interactive refinement</span>
- </dt>
- <dd>
- <p>
- Here are some options to work more precisely on your selection:
- </p>
- <div class="variablelist">
- <dl>
- <dt>
- <span class="term">Mark foreground</span>
- </dt>
- <dd>
- <p>
- default option. The foreground color of the Toolbox is used
- to paint. Colors covered by the painted line will be used
- for extraction.
- </p>
- </dd>
- <dt>
- <span class="term">Mark background</span>
- </dt>
- <dd>
- <p>
- You can access this option either by clicking on the radio
- button or, more simply, by pressing the <span class="keycap"><strong>Ctrl</strong></span>
- key. The mouse pointer goes with a small eraser icon. The used color is the background color of
- Toolbox.
- The pixels of the selection which have the same color as the
- “<span class="quote">erased</span>” pixels will NOT be extracted.
- </p>
- </dd>
- <dt>
- <span class="term">Small brush / Large brush</span>
- </dt>
- <dd>
- <p>
- This slider lets you adapt the size of the brush used to
- paint the line. A small brush fits well thin details.
- </p>
- </dd>
- </dl>
- </div>
- </dd>
- <dt>
- <span class="term">Smoothing</span>
- </dt>
- <dd>
- <p>
- The slider lets you remove small holes in your selection.
- </p>
- <div class="figure">
- <a id="id2626815"></a>
- <p class="title">
- <b>Figure 13.30. 
- <span lang="en" xml:lang="en">
- “<span class="quote">Smoothing</span>” option effect
- </span>
- </b>
- </p>
- <div class="figure-contents">
- <div class="mediaobject">
- <img src="../images/toolbox/FG-select-smoothing1.png" alt="Smoothing option effect" />
- <div class="caption">
- <p>
- For this demonstration, small holes painted with the
- background color of the image have been added (left).
- </p>
- </div>
- </div>
- <div class="mediaobject">
- <img src="../images/toolbox/FG-select-smoothing2.png" alt="Smoothing option effect" />
- <div class="caption">
- <p>
- Smoothing= 0 : more than 1 pixel wide holes are not
- selected.
- </p>
- </div>
- </div>
- <div class="mediaobject">
- <img src="../images/toolbox/FG-select-smoothing3.png" alt="Smoothing option effect" />
- <div class="caption">
- <p>
- Smoothing = 7 : less than 3 pixels wide holes are selected.
- </p>
- </div>
- </div>
- </div>
- </div>
- <br class="figure-break" />
- </dd>
- <dt>
- <span class="term">Preview color</span>
- </dt>
- <dd>
- <p>
- You can select between Red, Green and Blue to mask the image
- background.
- </p>
- </dd>
- <dt>
- <span class="term">Color Sensitivity</span>
- </dt>
- <dd>
- <p>
- This option uses the
- <a class="link" href="glossary.html#glossary-lab" title="L*a*b">L*a*b</a> color model. If your
- image contains many pixels of the same color in different tones,
- you can increase the sensibility of the selection for this
- color.
- </p>
- </dd>
- </dl>
- </div>
- </div>
- </div>
- <div class="navfooter">
- <hr />
- <table width="100%" summary="Navigation footer">
- <tr>
- <td width="40%" align="left"><a accesskey="p" href="gimp-tool-iscissors.html"><img src="../images/prev.png" alt="Prev" /></a> </td>
- <td width="20%" align="center">
- <a accesskey="u" href="gimp-tools-selection.html">
- <img src="../images/up.png" alt="Up" />
- </a>
- </td>
- <td width="40%" align="right"> <a accesskey="n" href="gimp-tools-paint.html"><img src="../images/next.png" alt="Next" /></a></td>
- </tr>
- <tr>
- <td width="40%" align="left" valign="top"><a accesskey="p" href="gimp-tool-iscissors.html">2.7. 
- <span lang="en" xml:lang="en">Scissors</span>
- </a> </td>
- <td width="20%" align="center">
- <a accesskey="h" href="index.html">
- <img src="../images/home.png" alt="Home" />
- </a>
- </td>
- <td width="40%" align="right" valign="top"> <a accesskey="n" href="gimp-tools-paint.html">3. 
- <span lang="en" xml:lang="en">Brush Tools</span>
- </a></td>
- </tr>
- </table>
- </div>
- </body>
- </html>
-